package com.aijk.ehm.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class SemStepExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public SemStepExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * 体重
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDevicesnIsNull() {
            addCriterion("devicesn is null");
            return (Criteria) this;
        }

        public Criteria andDevicesnIsNotNull() {
            addCriterion("devicesn is not null");
            return (Criteria) this;
        }

        public Criteria andDevicesnEqualTo(String value) {
            addCriterion("devicesn =", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnNotEqualTo(String value) {
            addCriterion("devicesn <>", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnGreaterThan(String value) {
            addCriterion("devicesn >", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnGreaterThanOrEqualTo(String value) {
            addCriterion("devicesn >=", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnLessThan(String value) {
            addCriterion("devicesn <", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnLessThanOrEqualTo(String value) {
            addCriterion("devicesn <=", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnLike(String value) {
            addCriterion("devicesn like", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnNotLike(String value) {
            addCriterion("devicesn not like", value, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnIn(List<String> values) {
            addCriterion("devicesn in", values, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnNotIn(List<String> values) {
            addCriterion("devicesn not in", values, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnBetween(String value1, String value2) {
            addCriterion("devicesn between", value1, value2, "devicesn");
            return (Criteria) this;
        }

        public Criteria andDevicesnNotBetween(String value1, String value2) {
            addCriterion("devicesn not between", value1, value2, "devicesn");
            return (Criteria) this;
        }

        public Criteria andStepNumIsNull() {
            addCriterion("step_num is null");
            return (Criteria) this;
        }

        public Criteria andStepNumIsNotNull() {
            addCriterion("step_num is not null");
            return (Criteria) this;
        }

        public Criteria andStepNumEqualTo(Integer value) {
            addCriterion("step_num =", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumNotEqualTo(Integer value) {
            addCriterion("step_num <>", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumGreaterThan(Integer value) {
            addCriterion("step_num >", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("step_num >=", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumLessThan(Integer value) {
            addCriterion("step_num <", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumLessThanOrEqualTo(Integer value) {
            addCriterion("step_num <=", value, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumIn(List<Integer> values) {
            addCriterion("step_num in", values, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumNotIn(List<Integer> values) {
            addCriterion("step_num not in", values, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumBetween(Integer value1, Integer value2) {
            addCriterion("step_num between", value1, value2, "stepNum");
            return (Criteria) this;
        }

        public Criteria andStepNumNotBetween(Integer value1, Integer value2) {
            addCriterion("step_num not between", value1, value2, "stepNum");
            return (Criteria) this;
        }

        public Criteria andMeterdateIsNull() {
            addCriterion("meterdate is null");
            return (Criteria) this;
        }

        public Criteria andMeterdateIsNotNull() {
            addCriterion("meterdate is not null");
            return (Criteria) this;
        }

        public Criteria andMeterdateEqualTo(Date value) {
            addCriterion("meterdate =", value, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateNotEqualTo(Date value) {
            addCriterion("meterdate <>", value, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateGreaterThan(Date value) {
            addCriterion("meterdate >", value, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateGreaterThanOrEqualTo(Date value) {
            addCriterion("meterdate >=", value, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateLessThan(Date value) {
            addCriterion("meterdate <", value, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateLessThanOrEqualTo(Date value) {
            addCriterion("meterdate <=", value, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateIn(List<Date> values) {
            addCriterion("meterdate in", values, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateNotIn(List<Date> values) {
            addCriterion("meterdate not in", values, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateBetween(Date value1, Date value2) {
            addCriterion("meterdate between", value1, value2, "meterdate");
            return (Criteria) this;
        }

        public Criteria andMeterdateNotBetween(Date value1, Date value2) {
            addCriterion("meterdate not between", value1, value2, "meterdate");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNull() {
            addCriterion("idcard is null");
            return (Criteria) this;
        }

        public Criteria andIdcardIsNotNull() {
            addCriterion("idcard is not null");
            return (Criteria) this;
        }

        public Criteria andIdcardEqualTo(String value) {
            addCriterion("idcard =", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotEqualTo(String value) {
            addCriterion("idcard <>", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThan(String value) {
            addCriterion("idcard >", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardGreaterThanOrEqualTo(String value) {
            addCriterion("idcard >=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThan(String value) {
            addCriterion("idcard <", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLessThanOrEqualTo(String value) {
            addCriterion("idcard <=", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardLike(String value) {
            addCriterion("idcard like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotLike(String value) {
            addCriterion("idcard not like", value, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardIn(List<String> values) {
            addCriterion("idcard in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotIn(List<String> values) {
            addCriterion("idcard not in", values, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardBetween(String value1, String value2) {
            addCriterion("idcard between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andIdcardNotBetween(String value1, String value2) {
            addCriterion("idcard not between", value1, value2, "idcard");
            return (Criteria) this;
        }

        public Criteria andUidIsNull() {
            addCriterion("uid is null");
            return (Criteria) this;
        }

        public Criteria andUidIsNotNull() {
            addCriterion("uid is not null");
            return (Criteria) this;
        }

        public Criteria andUidEqualTo(Long value) {
            addCriterion("uid =", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotEqualTo(Long value) {
            addCriterion("uid <>", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThan(Long value) {
            addCriterion("uid >", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidGreaterThanOrEqualTo(Long value) {
            addCriterion("uid >=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThan(Long value) {
            addCriterion("uid <", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidLessThanOrEqualTo(Long value) {
            addCriterion("uid <=", value, "uid");
            return (Criteria) this;
        }

        public Criteria andUidIn(List<Long> values) {
            addCriterion("uid in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotIn(List<Long> values) {
            addCriterion("uid not in", values, "uid");
            return (Criteria) this;
        }

        public Criteria andUidBetween(Long value1, Long value2) {
            addCriterion("uid between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andUidNotBetween(Long value1, Long value2) {
            addCriterion("uid not between", value1, value2, "uid");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(Long value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(Long value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(Long value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(Long value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(Long value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<Long> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<Long> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(Long value1, Long value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(Long value1, Long value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andResidentIdIsNull() {
            addCriterion("resident_id is null");
            return (Criteria) this;
        }

        public Criteria andResidentIdIsNotNull() {
            addCriterion("resident_id is not null");
            return (Criteria) this;
        }

        public Criteria andResidentIdEqualTo(Long value) {
            addCriterion("resident_id =", value, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdNotEqualTo(Long value) {
            addCriterion("resident_id <>", value, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdGreaterThan(Long value) {
            addCriterion("resident_id >", value, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("resident_id >=", value, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdLessThan(Long value) {
            addCriterion("resident_id <", value, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdLessThanOrEqualTo(Long value) {
            addCriterion("resident_id <=", value, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdIn(List<Long> values) {
            addCriterion("resident_id in", values, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdNotIn(List<Long> values) {
            addCriterion("resident_id not in", values, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdBetween(Long value1, Long value2) {
            addCriterion("resident_id between", value1, value2, "residentId");
            return (Criteria) this;
        }

        public Criteria andResidentIdNotBetween(Long value1, Long value2) {
            addCriterion("resident_id not between", value1, value2, "residentId");
            return (Criteria) this;
        }

        public Criteria andMetertypeIsNull() {
            addCriterion("metertype is null");
            return (Criteria) this;
        }

        public Criteria andMetertypeIsNotNull() {
            addCriterion("metertype is not null");
            return (Criteria) this;
        }

        public Criteria andMetertypeEqualTo(String value) {
            addCriterion("metertype =", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeNotEqualTo(String value) {
            addCriterion("metertype <>", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeGreaterThan(String value) {
            addCriterion("metertype >", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeGreaterThanOrEqualTo(String value) {
            addCriterion("metertype >=", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeLessThan(String value) {
            addCriterion("metertype <", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeLessThanOrEqualTo(String value) {
            addCriterion("metertype <=", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeLike(String value) {
            addCriterion("metertype like", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeNotLike(String value) {
            addCriterion("metertype not like", value, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeIn(List<String> values) {
            addCriterion("metertype in", values, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeNotIn(List<String> values) {
            addCriterion("metertype not in", values, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeBetween(String value1, String value2) {
            addCriterion("metertype between", value1, value2, "metertype");
            return (Criteria) this;
        }

        public Criteria andMetertypeNotBetween(String value1, String value2) {
            addCriterion("metertype not between", value1, value2, "metertype");
            return (Criteria) this;
        }

        public Criteria andDvsourceIsNull() {
            addCriterion("dvsource is null");
            return (Criteria) this;
        }

        public Criteria andDvsourceIsNotNull() {
            addCriterion("dvsource is not null");
            return (Criteria) this;
        }

        public Criteria andDvsourceEqualTo(String value) {
            addCriterion("dvsource =", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceNotEqualTo(String value) {
            addCriterion("dvsource <>", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceGreaterThan(String value) {
            addCriterion("dvsource >", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceGreaterThanOrEqualTo(String value) {
            addCriterion("dvsource >=", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceLessThan(String value) {
            addCriterion("dvsource <", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceLessThanOrEqualTo(String value) {
            addCriterion("dvsource <=", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceLike(String value) {
            addCriterion("dvsource like", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceNotLike(String value) {
            addCriterion("dvsource not like", value, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceIn(List<String> values) {
            addCriterion("dvsource in", values, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceNotIn(List<String> values) {
            addCriterion("dvsource not in", values, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceBetween(String value1, String value2) {
            addCriterion("dvsource between", value1, value2, "dvsource");
            return (Criteria) this;
        }

        public Criteria andDvsourceNotBetween(String value1, String value2) {
            addCriterion("dvsource not between", value1, value2, "dvsource");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNull() {
            addCriterion("created is null");
            return (Criteria) this;
        }

        public Criteria andCreatedIsNotNull() {
            addCriterion("created is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedEqualTo(Date value) {
            addCriterion("created =", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotEqualTo(Date value) {
            addCriterion("created <>", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThan(Date value) {
            addCriterion("created >", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedGreaterThanOrEqualTo(Date value) {
            addCriterion("created >=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThan(Date value) {
            addCriterion("created <", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedLessThanOrEqualTo(Date value) {
            addCriterion("created <=", value, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedIn(List<Date> values) {
            addCriterion("created in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotIn(List<Date> values) {
            addCriterion("created not in", values, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedBetween(Date value1, Date value2) {
            addCriterion("created between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreatedNotBetween(Date value1, Date value2) {
            addCriterion("created not between", value1, value2, "created");
            return (Criteria) this;
        }

        public Criteria andCreaterIsNull() {
            addCriterion("creater is null");
            return (Criteria) this;
        }

        public Criteria andCreaterIsNotNull() {
            addCriterion("creater is not null");
            return (Criteria) this;
        }

        public Criteria andCreaterEqualTo(Long value) {
            addCriterion("creater =", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotEqualTo(Long value) {
            addCriterion("creater <>", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterGreaterThan(Long value) {
            addCriterion("creater >", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterGreaterThanOrEqualTo(Long value) {
            addCriterion("creater >=", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLessThan(Long value) {
            addCriterion("creater <", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterLessThanOrEqualTo(Long value) {
            addCriterion("creater <=", value, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterIn(List<Long> values) {
            addCriterion("creater in", values, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotIn(List<Long> values) {
            addCriterion("creater not in", values, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterBetween(Long value1, Long value2) {
            addCriterion("creater between", value1, value2, "creater");
            return (Criteria) this;
        }

        public Criteria andCreaterNotBetween(Long value1, Long value2) {
            addCriterion("creater not between", value1, value2, "creater");
            return (Criteria) this;
        }

        public Criteria andUnameIsNull() {
            addCriterion("uname is null");
            return (Criteria) this;
        }

        public Criteria andUnameIsNotNull() {
            addCriterion("uname is not null");
            return (Criteria) this;
        }

        public Criteria andUnameEqualTo(String value) {
            addCriterion("uname =", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotEqualTo(String value) {
            addCriterion("uname <>", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameGreaterThan(String value) {
            addCriterion("uname >", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameGreaterThanOrEqualTo(String value) {
            addCriterion("uname >=", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLessThan(String value) {
            addCriterion("uname <", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLessThanOrEqualTo(String value) {
            addCriterion("uname <=", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameLike(String value) {
            addCriterion("uname like", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotLike(String value) {
            addCriterion("uname not like", value, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameIn(List<String> values) {
            addCriterion("uname in", values, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotIn(List<String> values) {
            addCriterion("uname not in", values, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameBetween(String value1, String value2) {
            addCriterion("uname between", value1, value2, "uname");
            return (Criteria) this;
        }

        public Criteria andUnameNotBetween(String value1, String value2) {
            addCriterion("uname not between", value1, value2, "uname");
            return (Criteria) this;
        }

        public Criteria andTpidsIsNull() {
            addCriterion("tpids is null");
            return (Criteria) this;
        }

        public Criteria andTpidsIsNotNull() {
            addCriterion("tpids is not null");
            return (Criteria) this;
        }

        public Criteria andTpidsEqualTo(Long value) {
            addCriterion("tpids =", value, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsNotEqualTo(Long value) {
            addCriterion("tpids <>", value, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsGreaterThan(Long value) {
            addCriterion("tpids >", value, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsGreaterThanOrEqualTo(Long value) {
            addCriterion("tpids >=", value, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsLessThan(Long value) {
            addCriterion("tpids <", value, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsLessThanOrEqualTo(Long value) {
            addCriterion("tpids <=", value, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsIn(List<Long> values) {
            addCriterion("tpids in", values, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsNotIn(List<Long> values) {
            addCriterion("tpids not in", values, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsBetween(Long value1, Long value2) {
            addCriterion("tpids between", value1, value2, "tpids");
            return (Criteria) this;
        }

        public Criteria andTpidsNotBetween(Long value1, Long value2) {
            addCriterion("tpids not between", value1, value2, "tpids");
            return (Criteria) this;
        }

        public Criteria andUnitsIsNull() {
            addCriterion("units is null");
            return (Criteria) this;
        }

        public Criteria andUnitsIsNotNull() {
            addCriterion("units is not null");
            return (Criteria) this;
        }

        public Criteria andUnitsEqualTo(String value) {
            addCriterion("units =", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsNotEqualTo(String value) {
            addCriterion("units <>", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsGreaterThan(String value) {
            addCriterion("units >", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsGreaterThanOrEqualTo(String value) {
            addCriterion("units >=", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsLessThan(String value) {
            addCriterion("units <", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsLessThanOrEqualTo(String value) {
            addCriterion("units <=", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsLike(String value) {
            addCriterion("units like", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsNotLike(String value) {
            addCriterion("units not like", value, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsIn(List<String> values) {
            addCriterion("units in", values, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsNotIn(List<String> values) {
            addCriterion("units not in", values, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsBetween(String value1, String value2) {
            addCriterion("units between", value1, value2, "units");
            return (Criteria) this;
        }

        public Criteria andUnitsNotBetween(String value1, String value2) {
            addCriterion("units not between", value1, value2, "units");
            return (Criteria) this;
        }

        public Criteria andRrsIsNull() {
            addCriterion("rrs is null");
            return (Criteria) this;
        }

        public Criteria andRrsIsNotNull() {
            addCriterion("rrs is not null");
            return (Criteria) this;
        }

        public Criteria andRrsEqualTo(String value) {
            addCriterion("rrs =", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsNotEqualTo(String value) {
            addCriterion("rrs <>", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsGreaterThan(String value) {
            addCriterion("rrs >", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsGreaterThanOrEqualTo(String value) {
            addCriterion("rrs >=", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsLessThan(String value) {
            addCriterion("rrs <", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsLessThanOrEqualTo(String value) {
            addCriterion("rrs <=", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsLike(String value) {
            addCriterion("rrs like", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsNotLike(String value) {
            addCriterion("rrs not like", value, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsIn(List<String> values) {
            addCriterion("rrs in", values, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsNotIn(List<String> values) {
            addCriterion("rrs not in", values, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsBetween(String value1, String value2) {
            addCriterion("rrs between", value1, value2, "rrs");
            return (Criteria) this;
        }

        public Criteria andRrsNotBetween(String value1, String value2) {
            addCriterion("rrs not between", value1, value2, "rrs");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * 体重
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}